#pragma once

#include "esp_err.h"
#include "uvc.h"
#include "esp_timer.h"
#include "uvc_frame_cfg.h"

#ifdef __cplusplus
extern "C" {
#endif

#define UVC_MAX_FRAMESIZE_SIZE     (60*1024)

/**
 * @brief Init USB Camera 1
 *
 * @return
 *      ESP_OK on success
 *      ESP_FAIL on failure
 */
esp_err_t usb_cam1_init(void);

#ifdef __cplusplus
}
#endif
